<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/pages/login/common.jsp" %>
<%
String path = request.getContextPath();
%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta content="B2B电商平台" name="description"/>
<meta content="B2B电商平台" name="keyword"/>

<title>B2B电商平台.店铺申请审核</title>
<link rel="stylesheet" type="text/css" href="<%=path %>/include/css/btn.css" />
<link rel="stylesheet" type="text/css" href="<%=path %>/include/css/themes.css" />
<link rel="stylesheet" type="text/css" href="<%=path %>/include/css/global.css" />
<link rel="stylesheet" type="text/css" href="<%=path %>/include/css/proManage.css" />
<link rel="stylesheet" type="text/css" href="<%=path %>/include/css/register_icss.css" />
<link rel="stylesheet" type="text/css" href="<%=path %>/include/css/page.css" />
<link rel="stylesheet" type="text/css" href="<%=path %>/include/css/mmt_trading.css" />
<link rel="stylesheet" type="text/css" href="<%=path%>/include/pagination/page.css" media="all">
<script type="text/javascript" src="<%=path %>/include/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="<%=path %>/include/js/icss.common.js"></script>
<script type="text/javascript" src="<%=path %>/include/js/cookies.js"></script>

<script type="text/javascript" src="<%=path%>/include/pagination/jquery.pagination.js"></script>
<script type="text/javascript" src="<%=path%>/include/pagination/init.js"></script>

<style type="text/css">
#listTable td{
  font-size:12px;
  border: 1px solid #ddd;
  padding: 4px;
}
.noborder{border:none;height:2px;overflow:hidden;}
.noborder td{height: 2px;}
#listTable th{
   border: 1px solid #ddd;
   font-weight: bold;
  
}
button{
    width:44px;
    height:24px;
    line-height:24px;   
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 0 -203px;
    border:0;
    cursor:pointer;
    font: 12px/1.5 arial,tahoma,\5b8b\4f53;
    margin: 0 0 0 5px;
    outline:none;
    background-image: url('<%=path%>/include/css/img/xs_bgx.png');   
}
</style>
<script type="text/javascript">
	$(function(){
		_queryList();
	})
	
	var pagination;
	function _queryList(){
		var url = "<%=path %>/shopVipInfo/queryVipInfoList.do";
  		pagination = _initPagination({'pageId':'pagination', 'cKey':'toShopVipInfo','url': url,'rows': 10, 'callback':_initDataList});
  		
	}
	function _initDataList(data) {
	 		var d = data.rows;
	 		var total = data.total;
			var str = "";
			$("#list_tbody").empty();
			for(var i=0;i<d.length;i++){
				str += "<tr class='list_table_tr'>";
				str += "    <td class='span5' style='text-align:center;vertical-align: middle'>"+d[i].PID+"</td>";
				str += "    <td class='span15' style='text-align:center;vertical-align: middle'>"+d[i].USER_NAME+"</td>";
				str += "    <td class='span10' style='text-align:center;vertical-align: middle'>"+d[i].CREATE_TIME+"</td>";
				str += "    <td class='span15' style='text-align:center;vertical-align: middle'>"+d[i].GROUP_NAME+"</td>";
				str += "    <td class='span10' style='text-align:right;vertical-align: middle'>"+d[i].SUM_MONEY+"</td>";
				str += "    <td class='span10' style='text-align:right;vertical-align: middle'>"+d[i].SUM_NUM+"</td>";
				str +=" </tr>";
			}
			$("#list_tbody").append(str);
			$("#tbody").append(str);
			_reHeight("rightFrame", "contentDiv");
	 }
</script>
</head>
<body style="font-family: '微软雅黑';padding: 0px;">
	<div id="contentDiv" style="padding:5px; width:99%;margin-left: 0px;">
 	<div style="width:100%;height:30px;border-bottom:1px solid #ADADAD;margin-bottom: 15px;">
	      	<div class="toptil">店铺会员信息展示
			</div>
	    </div>
		<div class="appeal_s" style="float:none;width: 99.6%;margin: 0px;padding: 10px 0px;">
			<form id="fm" name="fm" method="post" action="" novalidate="novalidate">
				<%-- <table style="width:100%;border-collapse: collapse;">
					<tr>
						<td style="width:10%;text-align:right;" nowrap>VIP分组编码：</td>
						<td style="width:25%;" nowrap>
							<select name="vipCode"  class="input-medium" style="height: 24px;width: 160px;" id="vipCode" >
			  					<c:forEach items='${theVipCodeList}' var='vipCode' varStatus="st">
									<option value="${vipCode.GROUP_CODE }">${vipCode.GROUP_NAME }</option>
								</c:forEach>
                            </select>
						</td>
						<td nowrap><button class="orange_search_btn3" style="margin-top: 0px;" onmouseover="this.className='orange_search_btn3_hov'" onmouseout="this.className='orange_search_btn3'" onclick="_queryList()" type="button">查询</button></td>
					</tr>
				</table> --%>
				 &nbsp;VIP分组编码：<select name="vipCode"  class="input-medium" style="height: 24px;width: 160px;border-radius: 4px;" id="vipCode" >
			  					<c:forEach items='${theVipCodeList}' var='vipCode' varStatus="st">
									<option value="${vipCode.GROUP_CODE }">${vipCode.GROUP_NAME }</option>
								</c:forEach>
                            </select>
                      <button  type="button" onclick="_queryList()">查询</button>
                     <!-- <button class="orange_search_btn3" style="margin-top: 0px;float:none;" onmouseover="this.className='orange_search_btn3_hov'" onmouseout="this.className='orange_search_btn3'" sty onclick="_queryList()" type="button">查询</button> -->
			</form>
		</div>
		<div class="row-fluid dataTables_wrapper" style="margin-top: 15px;" >
					<table id="listTable"
						class="table table-hover table-nomargin table-bordered usertable dataTable"
						style="width: 100%; border-spacing: 0;">
						<thead>
							<tr class="trBgd"
								style="background-color: #eee;text-align: center; height: 31px; border: 1px solid #ddd; white-space: nowrap; background-position: 0 -123px; line-height: 30px; font-weight: bold;">
								<th class="span5" nowrap> 序号 </th>
						<th class="span15" nowrap> VIP名称 </th>
						<th class="span10" nowrap> 创建时间 </th>
						<th class="span15" nowrap> VIP分组 </th>
						<th class="span10" nowrap> 消费金额 </th>
						<th class="span10" nowrap> 笔数 </th>
							</tr>
						</thead>
						<tbody id="list_tbody" style="font-size: 13px">
						</tbody>
					</table>
					<div class="dataTables_paginate paging_full_numbers">
						<span id="innerHtml"> </span>
					</div>
					<div id="pagination"></div>
					<div>
						<div style="height: 30px;"></div>
						<!-- 分类列表div结束 -->
						<div class="clear"></div>
					</div>
				</div>
</div>
</body>
<script type="text/javascript">
	$(document).ready(function(){
		_reHeight();
	});
	function _reHeight(){
		var main = $(window.parent.document).find("#rightFrame");
		var mainheight = $("#contentDiv").height();
		main.height(mainheight);
	}

</script>
</html>
